﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

namespace TCS.Web.MembersHome
{
    public partial class _default : System.Web.UI.Page
    {
        protected string profile_image_url;
        protected long weibo_userId;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["BangShangLogin_model"] == null)
            {
                this.Response.Redirect("login.aspx");
            }

            TCS.Model.MemberLogin memberLogin = (TCS.Model.MemberLogin)Session["BangShangLogin_model"];
            ltrNickName.Text = memberLogin.NickName;
            profile_image_url = memberLogin.Profile_image_url.ToString();
            weibo_userId = memberLogin.Memberid;
            ltrFlower.Text = memberLogin.Followers_count.ToString();
            ltrFriend.Text = memberLogin.Friends_count.ToString();
            ltrDescription.Text = memberLogin.Description.ToString();
            ltrLocation.Text = memberLogin.Location.ToString();
            ltrWeiBoCount.Text = memberLogin.Statuses_count.ToString();
        }
    }
}
